<?php
class ChartController extends NodeController {
	
	//状态
	public function stat() {
		$data = self::getChartService ()->setData ();
		$this->view ()->assign ( 'data', $data );
		$this->view ()->display ( 'file:chart/list.tpl' );
	}
	
	public static function getChartService() {
		return new ChartService ();
	}
}